<!--  -->
<template>
  <div class="tips-box" v-if="show">{{text}}</div>
</template>

<script>
export default {

  components: {},

  computed: {},

  methods: {}
}

</script>
<style lang='scss' scoped>
.tips-box {
  width: 300rpx;
  height: 200rpx;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  text-align: center;
  top: 50%;
  left: 50%;
  z-index: 999;
  transform: translate(-50%, -50%);
  border-radius: 10rpx;
  background: rgba(0, 0, 0, 0.5);
}
</style>